package edu.uni.dormitory.mapper;

import edu.uni.dormitory.bean.MaintenanceEvaluation;
import edu.uni.dormitory.bean.MaintenanceEvaluationExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

/**
 * @author 郑伟森
 * @create 2019.05.01
 * @function 映射
 */
public interface MaintenanceEvaluationMapper {
    int countByExample(MaintenanceEvaluationExample example);

    int deleteByExample(MaintenanceEvaluationExample example);

    int deleteByPrimaryKey(Long id);

    int insert(MaintenanceEvaluation record);

    int insertSelective(MaintenanceEvaluation record);

    List<MaintenanceEvaluation> selectByExample(MaintenanceEvaluationExample example);

    MaintenanceEvaluation selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") MaintenanceEvaluation record, @Param("example") MaintenanceEvaluationExample example);

    int updateByExample(@Param("record") MaintenanceEvaluation record, @Param("example") MaintenanceEvaluationExample example);

    int updateByPrimaryKeySelective(MaintenanceEvaluation record);

    int updateByPrimaryKey(MaintenanceEvaluation record);

    MaintenanceEvaluation selectEvaluationByApplyId(Long applyId);
}